.class public Lcom/xingbook/park/fragment/HomeMineFragment;
.super Lcom/xingbook/park/fragment/BaseFragment;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/park/fragment/r;


# instance fields
.field private a:Lcom/xingbook/ui/ad;

.field private b:Lcom/xingbook/ui/ad;

.field private c:Lcom/xingbook/ui/ad;

.field private d:Lcom/xingbook/ui/ad;

.field private e:Lcom/xingbook/ui/ad;

.field private f:Lcom/xingbook/ui/ad;

.field private g:Lcom/xingbook/ui/ad;

.field private h:Lcom/xingbook/ui/ad;

.field private i:Lcom/xingbook/ui/ad;

.field private j:Lcom/xingbook/ui/ad;

.field private k:Z

.field private final l:Lcom/xingbook/park/fragment/h;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/fragment/BaseFragment;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->k:Z

    new-instance v0, Lcom/xingbook/park/fragment/h;

    invoke-direct {v0, p0}, Lcom/xingbook/park/fragment/h;-><init>(Lcom/xingbook/park/fragment/HomeMineFragment;)V

    iput-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->l:Lcom/xingbook/park/fragment/h;

    return-void
.end method

.method private a()V
    .locals 2

    iget-boolean v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->k:Z

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->k:Z

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    const-string v1, "\u6b63\u5728\u52a0\u8f7d\u8d26\u53f7\u4fe1\u606f..."

    invoke-virtual {v0, v1}, Lcom/xingbook/park/activity/HomeActivity;->a(Ljava/lang/String;)V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/fragment/g;

    invoke-direct {v1, p0}, Lcom/xingbook/park/fragment/g;-><init>(Lcom/xingbook/park/fragment/HomeMineFragment;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/xingbook/park/fragment/HomeMineFragment;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->b()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/fragment/HomeMineFragment;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->k:Z

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/fragment/HomeMineFragment;Ljava/io/File;)Z
    .locals 1

    invoke-direct {p0, p1}, Lcom/xingbook/park/fragment/HomeMineFragment;->a(Ljava/io/File;)Z

    move-result v0

    return v0
.end method

.method private a(Ljava/io/File;)Z
    .locals 5

    const/4 v1, 0x0

    invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p1}, Ljava/io/File;->list()[Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    move v0, v1

    :goto_0
    array-length v3, v2

    if-lt v0, v3, :cond_2

    :cond_0
    :goto_1
    const/4 v1, 0x1

    :cond_1
    return v1

    :cond_2
    new-instance v3, Ljava/io/File;

    aget-object v4, v2, v0

    invoke-direct {v3, p1, v4}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    invoke-direct {p0, v3}, Lcom/xingbook/park/fragment/HomeMineFragment;->a(Ljava/io/File;)Z

    move-result v3

    if-eqz v3, :cond_1

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    invoke-virtual {p1}, Ljava/io/File;->delete()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->l:Lcom/xingbook/park/fragment/h;

    const/4 v1, 0x2

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u5220\u9664\u6587\u4ef6\uff1a"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/fragment/h;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_1
.end method

.method static synthetic b(Lcom/xingbook/park/fragment/HomeMineFragment;)Lcom/xingbook/park/fragment/h;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->l:Lcom/xingbook/park/fragment/h;

    return-object v0
.end method

.method private b()V
    .locals 5

    const/4 v4, 0x0

    sget-object v1, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v2, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v1}, Lcom/xingbook/b/a;->g()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {v1}, Lcom/xingbook/b/a;->e()Ljava/lang/String;

    move-result-object v0

    :goto_0
    iput-object v0, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v1}, Lcom/xingbook/b/a;->b()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/xingbook/b/a;->a(Landroid/content/res/Resources;)Landroid/graphics/Bitmap;

    move-result-object v2

    iput-object v2, v0, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v0}, Lcom/xingbook/ui/ad;->invalidate()V

    iget v0, v1, Lcom/xingbook/b/a;->b:I

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    :goto_1
    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v0

    sget-object v2, Lcom/xingbook/c/c;->i:[I

    invoke-virtual {v0, v2}, Lcom/xingbook/c/j;->a([I)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const-string v2, "\u6211\u662f\u4f1a\u5458"

    iput-object v2, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    :goto_2
    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v0}, Lcom/xingbook/ui/ad;->invalidate()V

    iget v0, v1, Lcom/xingbook/b/a;->g:I

    const/16 v2, 0x2710

    if-lt v0, v2, :cond_6

    iget v0, v1, Lcom/xingbook/b/a;->g:I

    div-int/lit16 v0, v0, 0x2710

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "\u661f\u5e01\uff1a "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const/16 v3, 0x3e8

    if-le v0, v3, :cond_4

    const-string v0, "\u5927\u91cf"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_0
    :goto_3
    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    :goto_4
    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v1}, Lcom/xingbook/ui/ad;->getViewMinWidth()F

    move-result v1

    int-to-float v0, v0

    sub-float/2addr v0, v1

    const/high16 v2, 0x4000

    div-float/2addr v0, v2

    iget-object v2, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v3

    add-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v1}, Lcom/xingbook/ui/ad;->getBottom()I

    move-result v1

    invoke-virtual {v2, v3, v4, v0, v1}, Lcom/xingbook/ui/ad;->layout(IIII)V

    return-void

    :cond_1
    const-string v0, "\u672a\u767b\u5f55"

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const-string v2, "\u4e0d\u662f\u4f1a\u5458"

    iput-object v2, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    goto :goto_2

    :cond_4
    if-lez v0, :cond_5

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v3, "\u4e07"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v0, v1, Lcom/xingbook/b/a;->g:I

    rem-int/lit16 v0, v0, 0x2710

    if-lez v0, :cond_0

    const/16 v0, 0x2b

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    goto :goto_3

    :cond_5
    iget v0, v1, Lcom/xingbook/b/a;->g:I

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    goto :goto_3

    :cond_6
    iget-object v0, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u661f\u5e01: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v1, v1, Lcom/xingbook/b/a;->g:I

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    goto :goto_4
.end method


# virtual methods
.method public c()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u4e3b\u754c\u9762-\u6211\u7684"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()V
    .locals 0

    return-void
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->a()V

    invoke-super {p0, p1}, Lcom/xingbook/park/fragment/BaseFragment;->onActivityCreated(Landroid/os/Bundle;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 7

    const v6, 0x7f040020

    const v5, 0x7f04001c

    const/4 v0, 0x0

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    packed-switch v2, :pswitch_data_0

    :goto_1
    :pswitch_0
    if-eqz v0, :cond_0

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {v1, v5, v6}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto :goto_0

    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/FamilyAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/LoginAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_3
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/VIPAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_4
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/XingbiAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_5
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/MutilIntelActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_6
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/xingbook/activity/MyDownXingBookActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_7
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/audio/activity/MyAudioActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.audio.activity.MyDownAudioActivity.INTENT_RESTYPE"

    const/16 v3, 0x50

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    goto :goto_1

    :pswitch_8
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/audio/activity/MyAudioActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.audio.activity.MyDownAudioActivity.INTENT_RESTYPE"

    const/16 v3, 0x40

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    goto :goto_1

    :pswitch_9
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/huiben/activity/MyHuibenActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_a
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/cinema/activity/MyVideoActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_b
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/group/activity/GroupTopicDetail;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TOPICID"

    const-string v3, "21480e4a7453423389728a6618c8d7a8"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1

    :pswitch_c
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/group/activity/GroupTopicDetail;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TOPICID"

    const-string v3, "5797a2e8e09a46fdaa101aa10d32f6e1"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto/16 :goto_1

    :pswitch_d
    iget-object v2, p0, Lcom/xingbook/park/fragment/HomeMineFragment;->l:Lcom/xingbook/park/fragment/h;

    const/4 v3, 0x2

    const-string v4, "\u6e05\u9664\u7f13\u5b58\u6570\u636e"

    invoke-virtual {v2, v3, v4}, Lcom/xingbook/park/fragment/h;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v2

    invoke-virtual {v2}, Landroid/os/Message;->sendToTarget()V

    sget-object v2, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v3, Lcom/xingbook/park/fragment/f;

    invoke-direct {v3, p0}, Lcom/xingbook/park/fragment/f;-><init>(Lcom/xingbook/park/fragment/HomeMineFragment;)V

    invoke-interface {v2, v3}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto/16 :goto_1

    :pswitch_e
    invoke-static {v1}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/j;->r()Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/UpdateAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto/16 :goto_1

    :cond_2
    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "market://details?id="

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/app/Activity;->getPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v3

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    const/high16 v2, 0x1000

    invoke-virtual {v0, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f04001c

    const v2, 0x7f040020

    invoke-virtual {v1, v0, v2}, Landroid/app/Activity;->overridePendingTransition(II)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    const-string v0, "\u8bf7\u5b89\u88c5\u5e94\u7528\u5546\u5e97\uff08\u5982\uff1a\u5e94\u7528\u5b9d\u3001360\u624b\u673a\u52a9\u624b\u7b49\uff09\u540e\u518d\u8fdb\u884c\u70b9\u8bc4\u3002"

    const/4 v2, 0x1

    invoke-static {v1, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_0
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 24

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v13

    new-instance v14, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v14, v13}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    const v4, -0x141415

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->setBackgroundColor(I)V

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v4

    invoke-static {v4}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v15

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v4

    invoke-static {v4}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v16

    const/high16 v4, 0x430c

    mul-float/2addr v4, v15

    invoke-static {v4}, Ljava/lang/Math;->round(F)I

    move-result v17

    const/high16 v4, 0x41a0

    mul-float/2addr v4, v15

    invoke-static {v4}, Ljava/lang/Math;->round(F)I

    move-result v18

    const/high16 v4, 0x41a0

    mul-float/2addr v4, v15

    invoke-static {v4}, Ljava/lang/Math;->round(F)I

    move-result v19

    sub-int v20, v16, v18

    const/high16 v4, 0x41a0

    mul-float/2addr v4, v15

    invoke-static {v4}, Ljava/lang/Math;->round(F)I

    move-result v4

    const/high16 v5, 0x4290

    mul-float/2addr v5, v15

    invoke-static {v5}, Ljava/lang/Math;->round(F)I

    move-result v5

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v21

    const v6, 0x7f020228

    move-object/from16 v0, v21

    invoke-static {v0, v6}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    new-instance v7, Landroid/widget/ImageView;

    invoke-direct {v7, v13}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    sget-object v8, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v7, v8}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-virtual {v7, v6}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    move/from16 v0, v16

    int-to-float v8, v0

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v9

    int-to-float v9, v9

    div-float/2addr v8, v9

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v6

    int-to-float v6, v6

    mul-float/2addr v6, v8

    invoke-static {v6}, Ljava/lang/Math;->round(F)I

    move-result v6

    const/4 v8, 0x0

    const/4 v9, 0x0

    move/from16 v0, v16

    invoke-virtual {v7, v8, v9, v0, v6}, Landroid/widget/ImageView;->layout(IIII)V

    invoke-virtual {v14, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    sget-object v7, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    invoke-virtual {v7, v8}, Lcom/xingbook/b/a;->a(Landroid/content/res/Resources;)Landroid/graphics/Bitmap;

    move-result-object v7

    const/high16 v8, 0x4324

    mul-float/2addr v8, v15

    float-to-int v8, v8

    new-instance v9, Lcom/xingbook/ui/ad;

    invoke-direct {v9, v13}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/4 v10, 0x1

    invoke-virtual {v9, v10}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v9, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    iput v8, v9, Lcom/xingbook/ui/ad;->t:I

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    iput v8, v9, Lcom/xingbook/ui/ad;->u:I

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    iput-object v7, v8, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const-string v8, "\u661f\u7238\u661f\u5988"

    iput-object v8, v7, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x4218

    mul-float/2addr v8, v15

    iput v8, v7, Lcom/xingbook/ui/ad;->c:F

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/4 v8, -0x1

    iput v8, v7, Lcom/xingbook/ui/ad;->b:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/16 v8, 0x31

    iput v8, v7, Lcom/xingbook/ui/ad;->d:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const-string v8, "\u5b9d\u5b9d\u5e74\u9f84\u672a\u77e5"

    iput-object v8, v7, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x41d0

    mul-float/2addr v8, v15

    iput v8, v7, Lcom/xingbook/ui/ad;->h:F

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/4 v8, -0x1

    iput v8, v7, Lcom/xingbook/ui/ad;->g:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/4 v8, 0x1

    iput-boolean v8, v7, Lcom/xingbook/ui/ad;->w:Z

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x4120

    mul-float/2addr v8, v15

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    iput v8, v7, Lcom/xingbook/ui/ad;->l:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    const/4 v8, 0x0

    const/16 v9, -0x66d6

    invoke-virtual {v7, v8, v9}, Lcom/xingbook/ui/ad;->a(II)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    move/from16 v0, v16

    int-to-double v8, v0

    const-wide/high16 v10, 0x3fd0

    mul-double/2addr v8, v10

    invoke-static {v8, v9}, Ljava/lang/Math;->round(D)J

    move-result-wide v8

    long-to-int v8, v8

    const/4 v9, 0x0

    move/from16 v0, v16

    int-to-double v10, v0

    const-wide/high16 v22, 0x3fe8

    mul-double v10, v10, v22

    invoke-static {v10, v11}, Ljava/lang/Math;->round(D)J

    move-result-wide v10

    long-to-int v10, v10

    sub-int v11, v6, v5

    invoke-virtual {v7, v8, v9, v10, v11}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v7, Lcom/xingbook/ui/ad;

    invoke-direct {v7, v13}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/4 v8, 0x2

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v7, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const-string v8, "\u767b\u5f55/\u6ce8\u518c"

    iput-object v8, v7, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x4208

    mul-float/2addr v8, v15

    iput v8, v7, Lcom/xingbook/ui/ad;->c:F

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/4 v8, -0x1

    iput v8, v7, Lcom/xingbook/ui/ad;->b:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/16 v8, 0x11

    iput v8, v7, Lcom/xingbook/ui/ad;->d:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x4120

    mul-float/2addr v8, v15

    iput v8, v7, Lcom/xingbook/ui/ad;->j:F

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    const/high16 v8, 0x7f00

    iput v8, v7, Lcom/xingbook/ui/ad;->i:I

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    iget v8, v8, Lcom/xingbook/ui/ad;->i:I

    const/16 v9, -0x66d6

    invoke-virtual {v7, v8, v9}, Lcom/xingbook/ui/ad;->a(II)V

    const/high16 v7, 0x4336

    mul-float/2addr v7, v15

    const/high16 v8, 0x4278

    mul-float/2addr v8, v15

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    move/from16 v0, v16

    int-to-float v10, v0

    sub-float/2addr v10, v7

    const/high16 v11, 0x4160

    mul-float/2addr v11, v15

    sub-float/2addr v10, v11

    invoke-static {v10}, Ljava/lang/Math;->round(F)I

    move-result v10

    sub-int v11, v6, v5

    int-to-float v11, v11

    sub-float/2addr v11, v8

    const/high16 v12, 0x4000

    div-float/2addr v11, v12

    invoke-static {v11}, Ljava/lang/Math;->round(F)I

    move-result v11

    int-to-float v12, v10

    add-float/2addr v7, v12

    invoke-static {v7}, Ljava/lang/Math;->round(F)I

    move-result v7

    int-to-float v12, v11

    add-float/2addr v8, v12

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    invoke-virtual {v9, v10, v11, v7, v8}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v7, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v7, v13}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    const/4 v8, 0x0

    sub-int v9, v6, v5

    move/from16 v0, v16

    invoke-virtual {v7, v8, v9, v0, v6}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    const/high16 v8, 0x7f00

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/XbLayout;->setBackgroundColor(I)V

    invoke-virtual {v14, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v8, Lcom/xingbook/ui/ad;

    invoke-direct {v8, v13}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/4 v9, 0x3

    invoke-virtual {v8, v9}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v8, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const v9, 0x7f02022b

    move-object/from16 v0, v21

    invoke-static {v0, v9}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v9

    iput-object v9, v8, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const-string v9, "\u6211\u662f\u4f1a\u5458"

    iput-object v9, v8, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/high16 v9, 0x4200

    mul-float/2addr v9, v15

    iput v9, v8, Lcom/xingbook/ui/ad;->c:F

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/4 v9, -0x1

    iput v9, v8, Lcom/xingbook/ui/ad;->b:I

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/16 v9, 0x13

    iput v9, v8, Lcom/xingbook/ui/ad;->d:I

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/high16 v9, 0x4120

    mul-float/2addr v9, v15

    invoke-static {v9}, Ljava/lang/Math;->round(F)I

    move-result v9

    iput v9, v8, Lcom/xingbook/ui/ad;->l:I

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    iget v9, v9, Lcom/xingbook/ui/ad;->i:I

    const/16 v10, -0x66d6

    invoke-virtual {v8, v9, v10}, Lcom/xingbook/ui/ad;->a(II)V

    const/high16 v8, 0x41a0

    mul-float/2addr v8, v15

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    const/4 v10, 0x0

    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v11}, Lcom/xingbook/ui/ad;->getViewMinWidth()F

    move-result v11

    invoke-static {v11}, Ljava/lang/Math;->round(F)I

    move-result v11

    add-int/2addr v11, v8

    invoke-virtual {v9, v8, v10, v11, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v7, v9}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v9}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v9

    move-object/from16 v0, p0

    iput-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    const/4 v10, 0x5

    invoke-virtual {v9, v10}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v9, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    const v10, 0x7f02022a

    move-object/from16 v0, v21

    invoke-static {v0, v10}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v10

    iput-object v10, v9, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    const-string v10, "\u80b2\u513f\u6210\u679c"

    iput-object v10, v9, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    sub-int v10, v16, v8

    move-object/from16 v0, p0

    iget-object v11, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    invoke-virtual {v11}, Lcom/xingbook/ui/ad;->getViewMinWidth()F

    move-result v11

    invoke-static {v11}, Ljava/lang/Math;->round(F)I

    move-result v11

    sub-int/2addr v10, v11

    const/4 v11, 0x0

    sub-int v8, v16, v8

    invoke-virtual {v9, v10, v11, v8, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->j:Lcom/xingbook/ui/ad;

    invoke-virtual {v7, v8}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v8}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v8

    move-object/from16 v0, p0

    iput-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    const/4 v9, 0x4

    invoke-virtual {v8, v9}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v8, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    const v9, 0x7f02022c

    move-object/from16 v0, v21

    invoke-static {v0, v9}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v9

    iput-object v9, v8, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    const-string v9, "\u661f\u5e01: 0"

    iput-object v9, v8, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v8}, Lcom/xingbook/ui/ad;->getViewMinWidth()F

    move-result v8

    move-object/from16 v0, p0

    iget-object v9, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    move/from16 v0, v16

    int-to-float v10, v0

    sub-float/2addr v10, v8

    const/high16 v11, 0x4000

    div-float/2addr v10, v11

    invoke-static {v10}, Ljava/lang/Math;->round(F)I

    move-result v10

    const/4 v11, 0x0

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    add-int/2addr v8, v10

    invoke-virtual {v9, v10, v11, v8, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v7, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int v5, v6, v19

    new-instance v6, Lcom/xingbook/ui/ad;

    invoke-direct {v6, v13}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v6, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/4 v7, 0x6

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const-string v7, "\u6211\u7684\u661f\u5b9d\u4e66"

    iput-object v7, v6, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/high16 v7, 0x4220

    mul-float/2addr v7, v15

    iput v7, v6, Lcom/xingbook/ui/ad;->c:F

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const v7, -0x99999a

    iput v7, v6, Lcom/xingbook/ui/ad;->b:I

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const v7, 0x7f020239

    move-object/from16 v0, v21

    invoke-static {v0, v7}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v6, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/4 v7, -0x1

    iput v7, v6, Lcom/xingbook/ui/ad;->i:I

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/high16 v7, 0x41f0

    iput v7, v6, Lcom/xingbook/ui/ad;->j:F

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/4 v7, 0x1

    iput v7, v6, Lcom/xingbook/ui/ad;->k:I

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/16 v7, 0x13

    iput v7, v6, Lcom/xingbook/ui/ad;->d:I

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const v7, -0x656566

    const/high16 v8, 0x41d0

    mul-float/2addr v8, v15

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    const/high16 v9, 0x4240

    mul-float/2addr v9, v15

    invoke-static {v9}, Ljava/lang/Math;->round(F)I

    move-result v9

    const/4 v10, 0x1

    invoke-virtual {v6, v7, v8, v9, v10}, Lcom/xingbook/ui/ad;->a(IIII)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    iput v4, v6, Lcom/xingbook/ui/ad;->l:I

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const v6, -0x2a2a2b

    invoke-virtual {v4, v6}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    add-int v11, v5, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v4, v0, v5, v1, v11}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    move-object/from16 v0, p0

    iput-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const/4 v5, 0x7

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const-string v5, "\u6211\u7684\u542c\u542c"

    iput-object v5, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const v5, 0x7f020237

    move-object/from16 v0, v21

    invoke-static {v0, v5}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    iput-object v5, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const/4 v5, 0x0

    iput v5, v4, Lcom/xingbook/ui/ad;->j:F

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const v5, -0x141415

    const/high16 v6, 0x4000

    mul-float/2addr v6, v15

    invoke-static {v6}, Ljava/lang/Math;->round(F)I

    move-result v6

    const/4 v7, 0x0

    const/4 v8, 0x4

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-virtual/range {v4 .. v10}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v4, v5, v6}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    add-int v12, v11, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v4, v0, v11, v1, v12}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setId(I)V

    const-string v5, "\u6211\u7684\u513f\u6b4c"

    iput-object v5, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const v5, 0x7f020233

    move-object/from16 v0, v21

    invoke-static {v0, v5}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    iput-object v5, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    const v5, -0x141415

    const/high16 v6, 0x4000

    mul-float/2addr v6, v15

    invoke-static {v6}, Ljava/lang/Math;->round(F)I

    move-result v6

    const/4 v7, 0x0

    const/4 v8, 0x4

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-virtual/range {v4 .. v10}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    const/4 v6, 0x1

    invoke-virtual {v5, v6, v4}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    add-int v22, v12, v17

    move/from16 v0, v18

    move/from16 v1, v20

    move/from16 v2, v22

    invoke-virtual {v4, v0, v12, v1, v2}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v5

    move-object/from16 v0, p0

    invoke-virtual {v5, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/16 v6, 0x9

    invoke-virtual {v5, v6}, Lcom/xingbook/ui/ad;->setId(I)V

    const-string v6, "\u6211\u7684\u7ed8\u672c"

    iput-object v6, v5, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const v6, 0x7f020235

    move-object/from16 v0, v21

    invoke-static {v0, v6}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    iput-object v6, v5, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    const/4 v6, 0x2

    iput v6, v5, Lcom/xingbook/ui/ad;->k:I

    const v6, -0x141415

    const/high16 v7, 0x4000

    mul-float/2addr v7, v15

    invoke-static {v7}, Ljava/lang/Math;->round(F)I

    move-result v7

    const/4 v8, 0x0

    const/4 v9, 0x4

    const/4 v10, 0x0

    const/4 v11, 0x0

    invoke-virtual/range {v5 .. v11}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    const/4 v6, 0x1

    invoke-virtual {v4, v6, v5}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    const/4 v6, 0x1

    const/4 v7, 0x0

    invoke-virtual {v5, v6, v7}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    add-int v23, v22, v17

    move/from16 v0, v18

    move/from16 v1, v22

    move/from16 v2, v20

    move/from16 v3, v23

    invoke-virtual {v5, v0, v1, v2, v3}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v14, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    invoke-virtual {v6}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v6

    move-object/from16 v0, p0

    invoke-virtual {v6, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/16 v7, 0xa

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    const-string v7, "\u6211\u7684\u5f71\u9662"

    iput-object v7, v6, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const v7, 0x7f020236

    move-object/from16 v0, v21

    invoke-static {v0, v7}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v6, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    const/4 v7, 0x2

    iput v7, v6, Lcom/xingbook/ui/ad;->k:I

    const v7, -0x141415

    const/high16 v8, 0x4000

    mul-float/2addr v8, v15

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    const/4 v9, 0x0

    const/4 v10, 0x4

    const/4 v11, 0x0

    const/4 v12, 0x0

    invoke-virtual/range {v6 .. v12}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    const/4 v7, 0x1

    invoke-virtual {v5, v7, v6}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    const/4 v5, 0x1

    const/4 v7, 0x0

    invoke-virtual {v6, v5, v7}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    add-int v5, v23, v17

    move/from16 v0, v18

    move/from16 v1, v23

    move/from16 v2, v20

    invoke-virtual {v6, v0, v1, v2, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v14, v6}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int v5, v5, v19

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    invoke-virtual {v6}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v6

    move-object/from16 v0, p0

    iput-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v6, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    const/16 v7, 0xd

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    const-string v7, "\u610f\u89c1\u53cd\u9988"

    iput-object v7, v6, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    const v7, 0x7f020234

    move-object/from16 v0, v21

    invoke-static {v0, v7}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v6, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    const/4 v7, 0x1

    iput v7, v6, Lcom/xingbook/ui/ad;->k:I

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    add-int v7, v5, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v6, v0, v5, v1, v7}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->b:Lcom/xingbook/ui/ad;

    invoke-virtual {v5}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v5

    move-object/from16 v0, p0

    iput-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v5, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    const/16 v6, 0xc

    invoke-virtual {v5, v6}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    const-string v6, "\u5173\u4e8e\u661f\u5b9d\u4e50\u56ed"

    iput-object v6, v5, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    const v6, 0x7f02022d

    move-object/from16 v0, v21

    invoke-static {v0, v6}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    iput-object v6, v5, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->c:Lcom/xingbook/ui/ad;

    const/4 v6, 0x0

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v5, v6, v8}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    add-int v6, v7, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v5, v0, v7, v1, v6}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    move-object/from16 v0, p0

    iput-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    const/16 v5, 0xe

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    const-string v5, "\u6e05\u9664\u7f13\u5b58"

    iput-object v5, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    const v5, 0x7f020230

    move-object/from16 v0, v21

    invoke-static {v0, v5}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    iput-object v5, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->d:Lcom/xingbook/ui/ad;

    const/4 v5, 0x1

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {v4, v5, v7}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    add-int v11, v6, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v4, v0, v6, v1, v11}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->a:Lcom/xingbook/ui/ad;

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/16 v5, 0xf

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setId(I)V

    invoke-static {v13}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v5

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    const-string v7, "\u661f\u5b9d\u4e50\u56ed v"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v5}, Lcom/xingbook/c/j;->m()Lcom/xingbook/c/r;

    move-result-object v7

    invoke-virtual {v7}, Lcom/xingbook/c/r;->d()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const/high16 v6, 0x4218

    mul-float/2addr v6, v15

    iput v6, v4, Lcom/xingbook/ui/ad;->h:F

    invoke-virtual {v5}, Lcom/xingbook/c/j;->r()Z

    move-result v5

    if-eqz v5, :cond_0

    const-string v5, "\u6709\u65b0\u7248\u672c"

    iput-object v5, v4, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    const/high16 v5, -0x1

    iput v5, v4, Lcom/xingbook/ui/ad;->g:I

    :goto_0
    const v5, 0x7f020238

    move-object/from16 v0, v21

    invoke-static {v0, v5}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    iput-object v5, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/fragment/HomeMineFragment;->e:Lcom/xingbook/ui/ad;

    const/4 v6, 0x1

    invoke-virtual {v5, v6, v4}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    const/4 v5, 0x1

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/xingbook/ui/ad;->a(ZLcom/xingbook/ui/ad;)V

    const/4 v5, 0x2

    iput v5, v4, Lcom/xingbook/ui/ad;->k:I

    const v5, -0x141415

    const/high16 v6, 0x4000

    mul-float/2addr v6, v15

    invoke-static {v6}, Ljava/lang/Math;->round(F)I

    move-result v6

    const/4 v7, 0x0

    const/4 v8, 0x4

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-virtual/range {v4 .. v10}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    add-int v5, v11, v17

    move/from16 v0, v18

    move/from16 v1, v20

    invoke-virtual {v4, v0, v11, v1, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v4, Lcom/xingbook/ui/ad;

    invoke-direct {v4, v13}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const-string v6, "\u00a9\u661f\u5b9d\u4e50\u56ed(\u5317\u4eac)\u4fe1\u606f\u79d1\u6280\u6709\u9650\u516c\u53f8"

    iput-object v6, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const v6, -0x99999a

    iput v6, v4, Lcom/xingbook/ui/ad;->b:I

    const/high16 v6, 0x4200

    mul-float/2addr v6, v15

    iput v6, v4, Lcom/xingbook/ui/ad;->c:F

    const/16 v6, 0x11

    iput v6, v4, Lcom/xingbook/ui/ad;->d:I

    const/4 v6, 0x0

    const/high16 v7, 0x42f0

    mul-float/2addr v7, v15

    invoke-static {v7}, Ljava/lang/Math;->round(F)I

    move-result v7

    add-int/2addr v7, v5

    move/from16 v0, v16

    invoke-virtual {v4, v6, v5, v0, v7}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v14, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    const/4 v4, 0x0

    const/4 v5, 0x0

    move/from16 v0, v16

    invoke-virtual {v14, v4, v5, v0, v7}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    const/4 v4, 0x1

    iput-boolean v4, v14, Lcom/xingbook/ui/XbLayout;->b:Z

    new-instance v4, Landroid/widget/ScrollView;

    invoke-direct {v4, v13}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    const v5, -0x141415

    invoke-virtual {v4, v5}, Landroid/widget/ScrollView;->setBackgroundColor(I)V

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/widget/ScrollView;->setScrollContainer(Z)V

    new-instance v5, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x2

    invoke-direct {v5, v6, v7}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v5}, Landroid/widget/ScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4, v14}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    return-object v4

    :cond_0
    const-string v5, "\u53bb\u8bc4\u5206"

    iput-object v5, v4, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    const v5, -0xa5440a

    iput v5, v4, Lcom/xingbook/ui/ad;->g:I

    goto/16 :goto_0
.end method

.method public onDestroy()V
    .locals 1

    :try_start_0
    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    invoke-virtual {v0}, Lcom/xingbook/park/activity/HomeActivity;->c()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onDestroy()V

    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    return-void
.end method

.method public onResume()V
    .locals 1

    sget-boolean v0, Lcom/xingbook/c/n;->d:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    sput-boolean v0, Lcom/xingbook/c/n;->d:Z

    invoke-direct {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->b()V

    :cond_0
    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeMineFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    return-void
.end method
